﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Support.Exceptions
{
    public class BusinessException : Exception
    {
        #region Constructors

        /// <summary>
        /// Default constructor
        /// </summary>
        public BusinessException()
            : this(null)
        {
        }

        /// <summary>
        /// Constructor with params
        /// </summary>
        /// <param name="message">The exception message</param>
        public BusinessException(string message)
            : this(message, null)
        {
        }

        /// <summary>
        /// Constructor with params
        /// </summary>
        /// <param name="message">The exception message</param>
        /// <param name="innerException">The related inner exception</param>
        public BusinessException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

        #endregion Constructors
    }
}